<?php
namespace app\admin\controller;
use think\Request;
use think\Controller;
use think\Db;
use app\admin\controller\Base;

class Chat extends Base
{
	public function backfloor(){
		echo 1;die;
		return $this->fetch();
	}

	public function room(){
		
		return $this->fetch();
	}

	public function notice(){
		$info = Db::query("select * from notice where status='0' order by addtime desc");
		return $this->fetch('notice',['data'=>$info]);
	}

}